package com.awei.travel.mapperExt;

import org.apache.ibatis.annotations.Update;

/**
 * @Description 线路扩展Mapper
 * @author Wenweiwei
 * @date 2021/3/1 S{TIME}
 */
public interface RouteMapperExt {

    /**
     * @Description 修改线路被收藏数统计
     * @param routeId 线路ID
     * @return 被修改行数
     */
    @Update("update tab_route set attention_count = attention_count+1 where id = #{routeId}" )
    Long updateRouteCountById(Long routeId);
}
